<template>
  <div>
      <van-cell-group>
     <van-cell  size="small">
         <template #title>
             <span>{{ title }}</span>
         </template>
         <template #label>
             <div v-if="show"><span>{{ name }}</span>&nbsp;&nbsp;<span>{{ mobile }}</span></div>
             <div>{{ dizhi }}</div>
         </template>
     </van-cell>
     </van-cell-group>
  </div>
</template>

<script>
export default {
  props: {
    title: [String],
    name: [String],
    mobile: [String],
    dizhi: [String]
  },
  data () {
    return {
      show: true
    }
  },
  created () {
    if (this.dizhi === '快递上门 ￥10.00') {
      this.show = false
    }
  }
}
</script>

<style>

</style>
